import Vue from "vue";
import Router from "vue-router";

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: "/",
      component: resolver => require(["../components/Login.vue"], resolver)
    },
    {
      path: "/register",
      component: resolver => require(["../components/Register.vue"], resolver)
    },
    {
      path: "/resetpwd",
      component: resolver => require(["../components/Resetpwd.vue"], resolver)
    },
    {
      path: "/resetpwdtwo",
      component: resolver => require(["../components/Resetpwdtwo.vue"], resolver)
    },
    {
      path: "/userinformation",
      component: resolver => require(["../components/Userinformation.vue"], resolver)
    },
    {
      path: "/index",
      component: resolver => require(["../components/Index.vue"], resolver)
    },
  ]
});
